package com.zh.servicer.service.impl;


import com.zh.common.utils.StringUtil;
import com.zh.servicer.dao.BasicCompanyDao;
import com.zh.servicer.dao.ServiceDao;
import com.zh.servicer.dao.ServiceRoleDao;
import com.zh.servicer.domain.BasicCompanyDO;
import com.zh.servicer.domain.ServiceDO;
import com.zh.servicer.domain.ServiceRoleDO;
import com.zh.servicer.service.BasicCompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;


@Service
public class BasicCompanyServiceImpl implements BasicCompanyService {
	@Autowired
	private BasicCompanyDao basicCompanyDao;

	@Autowired
	private ServiceDao serviceDao;

	@Autowired
	private ServiceRoleDao serviceRoleDao;
	
	@Override
	public BasicCompanyDO get(String id){
		return basicCompanyDao.get(id);
	}
	
	@Override
	public List<BasicCompanyDO> list(Map<String, Object> map){
		return basicCompanyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return basicCompanyDao.count(map);
	}
	
	@Override
	public int save(BasicCompanyDO basicCompany){
		return basicCompanyDao.save(basicCompany);
	}
	
	@Override
	public int update(BasicCompanyDO basicCompany){
		return basicCompanyDao.update(basicCompany);
	}
	
	@Override
	public int remove(String id){
		return basicCompanyDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return basicCompanyDao.batchRemove(ids);
	}



	
}
